<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框倒角</title>
    <style>
        /*
            边框倒角 border-radius
            边框阴影： box-shadow
            box-shadow: [水平偏移] [垂直偏移] [模糊半径] [扩展半径] [颜色] [inset];
        */
        #d1{
            width: 200px;
            height: 200px;
            border:1px solid #000;
            /*border-top-right-radius: 30px ;*/
            /*border-top-left-radius: 30px;*/
            /*border-bottom-right-radius: 30px ;*/
            /*border-bottom-left-radius: 30px;*/
            /*border-radius: 30px;*/
            border-radius: 50%;
            box-shadow: 100px 100px 100px red inset;
        }
        /*input{*/
        /*    border-radius: 20px;*/
        /*    height: 50px;*/
        /*    width: 200px;*/
        /*}*/

        #d2{
            width: 824px;
            height:54px;
            border:2px solid #4E6EF2;
            border-radius: 16px;
        }
        #in1{
            width: 629px;
            height:50px;
            border-radius: 16px;
            border:0;
            float:left;
            font-size: 20px;
        }
        #photo{
            height: 50px;
            float:left
        }
        input:focus{
            outline: none;
        }
        #in2{
            width:136px;
            height:54px;
            border-top-right-radius: 14px;
            border-bottom-right-radius: 14px;
            background: #4E6EF2;
            font-size: 26px;
            color:#FFF;
            float:right;
            border:0
        }

    </style>
</head>
<body>
    <div id="d1"></div>

    <input type="text" placeholder="百度一下">

    <hr>
    <div id="d2">
        <form action="#" method="get">
             <input type="text" id="in1">
             <img src="../../image/相机.png" id="photo">
            <input type="submit" value="百度一下" id="in2">
        </form>
    </div>
</body>
</html>